#if !defined(AFX_OBJMOV_H__7DBD0138_85F3_4AB6_9E2C_10FC4E2CC95A__INCLUDED_)
#define AFX_OBJMOV_H__7DBD0138_85F3_4AB6_9E2C_10FC4E2CC95A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ObjMov.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CObjMov dialog

class CObjMov : public CDialog
{
// Construction
public:
	CObjMov(CWnd* pParent = NULL);   // standard constructor
	OBJTCELL	objInCell;
	OBJTMM		objOnMast;
	bool		m_Modified;
	bool		m_MastOnCell;
	int			m_loggedUser;
	void UpdateCmbCell();
	void UpdateMastObjList(int type);
	void UpdateCellObjList(int type);
	bool SetControls(void);
	bool CheckUser(void);
	bool SetExpWeightOnMast(void);
	bool SetObjectOnMast(GENIDX mastType, OBJTMM mastSituation);
// Dialog Data
	//{{AFX_DATA(CObjMov)
	enum { IDD = IDD_MOVE_OBJ };
	CEdit	m_AngleCtrl;
	CButton	m_Confirm;
	CListCtrl	m_listMast;
	CListCtrl	m_listCell;
	CComboBox	m_cmbZone;
	CComboBox	m_cmbMast;
	CComboBox	m_cmbCell;
	CString	m_mastWeight;
	CString	m_MastPhys;
	CString	m_MastAngle;
	CString	m_CellType;
	CString	m_ClGrPos;
	CString	m_FaGrPos;
	CString	m_FaGrL;
	CString	m_MastVirt;
	CString	m_MastZone;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CObjMov)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CObjMov)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCmbZone();
	afx_msg void OnSelchangeCmbCell();
	afx_msg void OnSelchangeCmbMast();
	afx_msg void OnConfirm();
	afx_msg void OnRight();
	afx_msg void OnLeft();
	afx_msg void OnExit();
	afx_msg void OnRefresh();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OBJMOV_H__7DBD0138_85F3_4AB6_9E2C_10FC4E2CC95A__INCLUDED_)
